package com.chikitbd.shadowsocks.entity.ss;

import java.util.ArrayList;
import java.util.List;

public class ShadowsocksConfig {
	
	
	private List<Configs> configs = new ArrayList<>();
	
	private String strategy = "";
	private String index = "";
	private boolean global  = false;
	private boolean	enabled = false;
	private boolean	shareOverLan = false;
	private boolean isDefault = false;
	private int localPort = 0;
	private String pacUrl = "";
	private boolean	useOnlinePac = false;
	private boolean secureLocalPac = false;
	private boolean availabilityStatistics = false;
	private boolean autoCheckUpdate = false;
	private boolean checkPreRelease = false;
	private boolean isVerboseLogging = false;
	
	private LogViewer logViewer = new LogViewer();
	private Proxy proxy = new Proxy();
	private Hotkey hotkey = new Hotkey();
	
	public List<Configs> getConfigs() {
		return configs;
	}
	public void setConfigs(List<Configs> configs) {
		this.configs = configs;
	}
	public Hotkey getHotkey() {
		return hotkey;
	}
	public void setHotkey(Hotkey hotkey) {
		this.hotkey = hotkey;
	}
	public Proxy getProxy() {
		return proxy;
	}
	public void setProxy(Proxy proxy) {
		this.proxy = proxy;
	}
	public LogViewer getLogViewer() {
		return logViewer;
	}
	public void setLogViewer(LogViewer logViewer) {
		this.logViewer = logViewer;
	}
	public String getStrategy() {
		return strategy;
	}
	public void setStrategy(String strategy) {
		this.strategy = strategy;
	}
	public String getIndex() {
		return index;
	}
	public void setIndex(String index) {
		this.index = index;
	}
	public String getPacUrl() {
		return pacUrl;
	}
	public void setPacUrl(String pacUrl) {
		this.pacUrl = pacUrl;
	}
	public int getLocalPort() {
		return localPort;
	}
	public void setLocalPort(int localPort) {
		this.localPort = localPort;
	}
	public boolean isGlobal() {
		return global;
	}
	public void setGlobal(boolean global) {
		this.global = global;
	}
	public boolean isEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public boolean isShareOverLan() {
		return shareOverLan;
	}
	public void setShareOverLan(boolean shareOverLan) {
		this.shareOverLan = shareOverLan;
	}
	public boolean isDefault() {
		return isDefault;
	}
	public void setDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}
	public boolean isUseOnlinePac() {
		return useOnlinePac;
	}
	public void setUseOnlinePac(boolean useOnlinePac) {
		this.useOnlinePac = useOnlinePac;
	}
	public boolean isSecureLocalPac() {
		return secureLocalPac;
	}
	public void setSecureLocalPac(boolean secureLocalPac) {
		this.secureLocalPac = secureLocalPac;
	}
	public boolean isAvailabilityStatistics() {
		return availabilityStatistics;
	}
	public void setAvailabilityStatistics(boolean availabilityStatistics) {
		this.availabilityStatistics = availabilityStatistics;
	}
	public boolean isAutoCheckUpdate() {
		return autoCheckUpdate;
	}
	public void setAutoCheckUpdate(boolean autoCheckUpdate) {
		this.autoCheckUpdate = autoCheckUpdate;
	}
	public boolean isCheckPreRelease() {
		return checkPreRelease;
	}
	public void setCheckPreRelease(boolean checkPreRelease) {
		this.checkPreRelease = checkPreRelease;
	}
	public boolean isVerboseLogging() {
		return isVerboseLogging;
	}
	public void setVerboseLogging(boolean isVerboseLogging) {
		this.isVerboseLogging = isVerboseLogging;
	}
	@Override
	public String toString() {
		return "GUI_Config [configs=" + configs + ", hotkey=" + hotkey + ", proxy=" + proxy + ", logViewer=" + logViewer + ", strategy=" + strategy + ", index=" + index + ", pacUrl=" + pacUrl + ", localPort=" + localPort + ", global="
				+ global + ", enabled=" + enabled + ", shareOverLan=" + shareOverLan + ", isDefault=" + isDefault + ", useOnlinePac=" + useOnlinePac + ", secureLocalPac=" + secureLocalPac + ", availabilityStatistics="
				+ availabilityStatistics + ", autoCheckUpdate=" + autoCheckUpdate + ", checkPreRelease=" + checkPreRelease + ", isVerboseLogging=" + isVerboseLogging + "]";
	}
	
}
